package com.weitu.permission.post.service;

import com.weitu.permission.post.entity.Post;

import java.util.List;
import java.util.Map;

/**
 * @author zhangqingxi 2017/6/6
 */
public interface PostService {
    List<Post> findByParam(Map paramMap);

    Integer findByParamCount(Map paramMap);

    Post findById(String id);

    Post findByCode(String code);

    List<Map> findByDeptId(String deptId);


    Integer add(Map paramMap);

    Integer updateById(Map paramMap);
}
